home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / content / nsISelectionController.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  21KB  |  500 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsISelectionController.idl
  3.  */
  4.  
  5. #ifndef __gen_nsISelectionController_h__
  6. #define __gen_nsISelectionController_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsISelection_h__
  14. #include "nsISelection.h"
  15. #endif
  16.  
  17. #ifndef __gen_nsISelectionDisplay_h__
  18. #include "nsISelectionDisplay.h"
  19. #endif
  20.  
  21. /* For IDL files that don't want to include root IDL files. */
  22. #ifndef NS_NO_VTABLE
  23. #define NS_NO_VTABLE
  24. #endif
  25. typedef short SelectionType;
  26. typedef short SelectionRegion;
  27. class nsIDOMNode; /* forward declaration */
  28.  
  29. class nsISelection; /* forward declaration */
  30.  
  31. class nsISelectionDisplay; /* forward declaration */
  32.  
  33.  
  34. /* starting interface:    nsISelectionController */
  35. #define NS_ISELECTIONCONTROLLER_IID_STR "93aaa4a9-b78e-42eb-9d67-5de77ee2f54b"
  36.  
  37. #define NS_ISELECTIONCONTROLLER_IID \
  38.   {0x93aaa4a9, 0xb78e, 0x42eb, \
  39.     { 0x9d, 0x67, 0x5d, 0xe7, 0x7e, 0xe2, 0xf5, 0x4b }}
  40.  
  41. class NS_NO_VTABLE nsISelectionController : public nsISelectionDisplay {
  42.  public: 
  43.  
  44.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISELECTIONCONTROLLER_IID)
  45.  
  46.   enum { SELECTION_NONE = 0 };
  47.  
  48.   enum { SELECTION_NORMAL = 1 };
  49.  
  50.   enum { SELECTION_SPELLCHECK = 2 };
  51.  
  52.   enum { SELECTION_IME_RAWINPUT = 4 };
  53.  
  54.   enum { SELECTION_IME_SELECTEDRAWTEXT = 8 };
  55.  
  56.   enum { SELECTION_IME_CONVERTEDTEXT = 16 };
  57.  
  58.   enum { SELECTION_IME_SELECTEDCONVERTEDTEXT = 32 };
  59.  
  60.   enum { SELECTION_ACCESSIBILITY = 64 };
  61.  
  62.   enum { NUM_SELECTIONTYPES = 8 };
  63.  
  64.   enum { SELECTION_ANCHOR_REGION = 0 };
  65.  
  66.   enum { SELECTION_FOCUS_REGION = 1 };
  67.  
  68.   enum { NUM_SELECTION_REGIONS = 2 };
  69.  
  70.   enum { SELECTION_OFF = 0 };
  71.  
  72.   enum { SELECTION_HIDDEN = 1 };
  73.  
  74.   enum { SELECTION_ON = 2 };
  75.  
  76.   enum { SELECTION_DISABLED = 3 };
  77.  
  78.   enum { SELECTION_ATTENTION = 4 };
  79.  
  80.   /**
  81.    * SetDisplaySelection will set the display mode for the selection. OFF,ON,DISABLED
  82.    */
  83.   /* void setDisplaySelection (in short toggle); */
  84.   NS_IMETHOD SetDisplaySelection(PRInt16 toggle) = 0;
  85.  
  86.   /**
  87.    * GetDisplaySelection will get the display mode for the selection. OFF,ON,DISABLED
  88.    */
  89.   /* short getDisplaySelection (); */
  90.   NS_IMETHOD GetDisplaySelection(PRInt16 *_retval) = 0;
  91.  
  92.   /**
  93.    * GetSelection will return the selection that the presentation
  94.    *  shell may implement.
  95.    *
  96.    * @param aType will hold the type of selection //SelectionType
  97.    * @param _return will hold the return value
  98.    */
  99.   /* nsISelection getSelection (in short type); */
  100.   NS_IMETHOD GetSelection(PRInt16 type, nsISelection **_retval) = 0;
  101.  
  102.   /**
  103.    * ScrollSelectionIntoView scrolls a region of the selection,
  104.    * so that it is visible in the scrolled view.
  105.    *
  106.    * @param aType the selection to scroll into view. //SelectionType
  107.    * @param aRegion the region inside the selection to scroll into view. //SelectionRegion
  108.    * @param aIsSynchronous when true, scrolls the selection into view
  109.    * before returning. If false, posts a request which is processed
  110.    * at some point after the method returns.
  111.    */
  112.   /* void scrollSelectionIntoView (in short type, in short region, in boolean isSynchronous); */
  113.   NS_IMETHOD ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRBool isSynchronous) = 0;
  114.  
  115.   /**
  116.    * RepaintSelection repaints the selection specified by aType.
  117.    *
  118.    * @param aType specifies the selection to repaint.
  119.    */
  120.   /* void repaintSelection (in short type); */
  121.   NS_IMETHOD RepaintSelection(PRInt16 type) = 0;
  122.  
  123.   /**
  124.    * Set the caret as enabled or disabled. An enabled caret will
  125.    * draw or blink when made visible. A disabled caret will never show up.
  126.    * Can be called any time.
  127.    * @param aEnable PR_TRUE to enable caret.  PR_FALSE to disable.
  128.    * @return always NS_OK
  129.    */
  130.   /* void setCaretEnabled (in boolean enabled); */
  131.   NS_IMETHOD SetCaretEnabled(PRBool enabled) = 0;
  132.  
  133.   /**
  134.    * Set the caret readonly or not. An readonly caret will
  135.    * draw but not blink when made visible. 
  136.    * @param aReadOnly PR_TRUE to enable caret.  PR_FALSE to disable.
  137.    * @return always NS_OK
  138.    */
  139.   /* void setCaretReadOnly (in boolean readOnly); */
  140.   NS_IMETHOD SetCaretReadOnly(PRBool readOnly) = 0;
  141.  
  142.   /**
  143.    * Gets the current state of the caret.
  144.    * @param aEnabled  [OUT] set to the current caret state, as set by SetCaretEnabled
  145.    * @return   if aOutEnabled==null, returns NS_ERROR_INVALID_ARG
  146.    *           else NS_OK
  147.    */
  148.   /* boolean getCaretEnabled (); */
  149.   NS_IMETHOD GetCaretEnabled(PRBool *_retval) = 0;
  150.  
  151.   /**
  152.    * Show the caret even in selections. By default the caret is hidden unless the
  153.    * selection is collapsed. Use this function to show the caret even in selections.
  154.    * @param aVisibility PR_TRUE to show the caret in selections.  PR_FALSE to hide.
  155.    * @return always NS_OK
  156.    */
  157.   /* void setCaretVisibilityDuringSelection (in boolean visibility); */
  158.   NS_IMETHOD SetCaretVisibilityDuringSelection(PRBool visibility) = 0;
  159.  
  160.   /** CharacterMove will move the selection one character forward/backward in the document.
  161.    *  this will also have the effect of collapsing the selection if the aExtend = PR_FALSE
  162.    *  the "point" of selection that is extended is considered the "focus" point. 
  163.    *  or the last point adjusted by the selection.
  164.    *  @param aForward forward or backward if PR_FALSE
  165.    *  @param aExtend  should it collapse the selection of extend it?
  166.    */
  167.   /* void characterMove (in boolean forward, in boolean extend); */
  168.   NS_IMETHOD CharacterMove(PRBool forward, PRBool extend) = 0;
  169.  
  170.   /** WordMove will move the selection one word forward/backward in the document.
  171.    *  this will also have the effect of collapsing the selection if the aExtend = PR_FALSE
  172.    *  the "point" of selection that is extended is considered the "focus" point. 
  173.    *  or the last point adjusted by the selection.
  174.    *  @param aForward forward or backward if PR_FALSE
  175.    *  @param aExtend  should it collapse the selection of extend it?
  176.    */
  177.   /* void wordMove (in boolean forward, in boolean extend); */
  178.   NS_IMETHOD WordMove(PRBool forward, PRBool extend) = 0;
  179.  
  180.   /** LineMove will move the selection one line forward/backward in the document.
  181.    *  this will also have the effect of collapsing the selection if the aExtend = PR_FALSE
  182.    *  the "point" of selection that is extended is considered the "focus" point. 
  183.    *  or the last point adjusted by the selection.
  184.    *  @param aForward forward or backward if PR_FALSE
  185.    *  @param aExtend  should it collapse the selection of extend it?
  186.    */
  187.   /* void lineMove (in boolean forward, in boolean extend); */
  188.   NS_IMETHOD LineMove(PRBool forward, PRBool extend) = 0;
  189.  
  190.   /** IntraLineMove will move the selection to the front of the line or end of the line
  191.    *  in the document.
  192.    *  this will also have the effect of collapsing the selection if the aExtend = PR_FALSE
  193.    *  the "point" of selection that is extended is considered the "focus" point. 
  194.    *  or the last point adjusted by the selection.
  195.    *  @param aForward forward or backward if PR_FALSE
  196.    *  @param aExtend  should it collapse the selection of extend it?
  197.    */
  198.   /* void intraLineMove (in boolean forward, in boolean extend); */
  199.   NS_IMETHOD IntraLineMove(PRBool forward, PRBool extend) = 0;
  200.  
  201.   /** PageMove will move the selection one page forward/backward in the document.
  202.    *  this will also have the effect of collapsing the selection if the aExtend = PR_FALSE
  203.    *  the "point" of selection that is extended is considered the "focus" point. 
  204.    *  or the last point adjusted by the selection.
  205.    *  @param aForward forward or backward if PR_FALSE
  206.    *  @param aExtend  should it collapse the selection of extend it?
  207.    */
  208.   /* void pageMove (in boolean forward, in boolean extend); */
  209.   NS_IMETHOD PageMove(PRBool forward, PRBool extend) = 0;
  210.  
  211.   /** CompleteScroll will move page view to the top or bottom of the document
  212.    *  @param aForward forward or backward if PR_FALSE
  213.    */
  214.   /* void completeScroll (in boolean forward); */
  215.   NS_IMETHOD CompleteScroll(PRBool forward) = 0;
  216.  
  217.   /** CompleteMove will move page view to the top or bottom of the document
  218.    *  this will also have the effect of collapsing the selection if the aExtend = PR_FALSE
  219.    *  the "point" of selection that is extended is considered the "focus" point. 
  220.    *  or the last point adjusted by the selection.
  221.    *  @param aForward forward or backward if PR_FALSE
  222.    *  @param aExtend  should it collapse the selection of extend it?
  223.    */
  224.   /* void completeMove (in boolean forward, in boolean extend); */
  225.   NS_IMETHOD CompleteMove(PRBool forward, PRBool extend) = 0;
  226.  
  227.   /** ScrollPage will scroll the page without affecting the selection.
  228.    *  @param aForward scroll forward or backwards in selection
  229.    */
  230.   /* void scrollPage (in boolean forward); */
  231.   NS_IMETHOD ScrollPage(PRBool forward) = 0;
  232.  
  233.   /** ScrolLine will scroll line up or down dependent on the boolean
  234.    *  @param aForward scroll forward or backwards in selection
  235.    */
  236.   /* void scrollLine (in boolean forward); */
  237.   NS_IMETHOD ScrollLine(PRBool forward) = 0;
  238.  
  239.   /** ScrolHorizontal will scroll left or right dependent on the boolean
  240.    *  @param aLeft if true will scroll left. if not will scroll right.
  241.    */
  242.   /* void scrollHorizontal (in boolean left); */
  243.   NS_IMETHOD ScrollHorizontal(PRBool left) = 0;
  244.  
  245.   /** SelectAll will select the whole page
  246.    */
  247.   /* void selectAll (); */
  248.   NS_IMETHOD SelectAll(void) = 0;
  249.  
  250.   /** CheckVisibility will return true if textnode and offsets are actually rendered 
  251.    *  in the current precontext.
  252.    *  @param aNode textNode to test
  253.    *  @param aStartOffset  offset in dom to first char of textnode to test
  254.    *  @param aEndOffset    offset in dom to last char of textnode to test
  255.    *  @param aReturnBool   boolean returned TRUE if visible FALSE if not
  256.    */
  257.   /* boolean checkVisibility (in nsIDOMNode node, in short startOffset, in short endOffset); */
  258.   NS_IMETHOD CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, PRBool *_retval) = 0;
  259.  
  260. };
  261.  
  262. /* Use this macro when declaring classes that implement this interface. */
  263. #define NS_DECL_NSISELECTIONCONTROLLER \
  264.   NS_IMETHOD SetDisplaySelection(PRInt16 toggle); \
  265.   NS_IMETHOD GetDisplaySelection(PRInt16 *_retval); \
  266.   NS_IMETHOD GetSelection(PRInt16 type, nsISelection **_retval); \
  267.   NS_IMETHOD ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRBool isSynchronous); \
  268.   NS_IMETHOD RepaintSelection(PRInt16 type); \
  269.   NS_IMETHOD SetCaretEnabled(PRBool enabled); \
  270.   NS_IMETHOD SetCaretReadOnly(PRBool readOnly); \
  271.   NS_IMETHOD GetCaretEnabled(PRBool *_retval); \
  272.   NS_IMETHOD SetCaretVisibilityDuringSelection(PRBool visibility); \
  273.   NS_IMETHOD CharacterMove(PRBool forward, PRBool extend); \
  274.   NS_IMETHOD WordMove(PRBool forward, PRBool extend); \
  275.   NS_IMETHOD LineMove(PRBool forward, PRBool extend); \
  276.   NS_IMETHOD IntraLineMove(PRBool forward, PRBool extend); \
  277.   NS_IMETHOD PageMove(PRBool forward, PRBool extend); \
  278.   NS_IMETHOD CompleteScroll(PRBool forward); \
  279.   NS_IMETHOD CompleteMove(PRBool forward, PRBool extend); \
  280.   NS_IMETHOD ScrollPage(PRBool forward); \
  281.   NS_IMETHOD ScrollLine(PRBool forward); \
  282.   NS_IMETHOD ScrollHorizontal(PRBool left); \
  283.   NS_IMETHOD SelectAll(void); \
  284.   NS_IMETHOD CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, PRBool *_retval); 
  285.  
  286. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  287. #define NS_FORWARD_NSISELECTIONCONTROLLER(_to) \
  288.   NS_IMETHOD SetDisplaySelection(PRInt16 toggle) { return _to SetDisplaySelection(toggle); } \
  289.   NS_IMETHOD GetDisplaySelection(PRInt16 *_retval) { return _to GetDisplaySelection(_retval); } \
  290.   NS_IMETHOD GetSelection(PRInt16 type, nsISelection **_retval) { return _to GetSelection(type, _retval); } \
  291.   NS_IMETHOD ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRBool isSynchronous) { return _to ScrollSelectionIntoView(type, region, isSynchronous); } \
  292.   NS_IMETHOD RepaintSelection(PRInt16 type) { return _to RepaintSelection(type); } \
  293.   NS_IMETHOD SetCaretEnabled(PRBool enabled) { return _to SetCaretEnabled(enabled); } \
  294.   NS_IMETHOD SetCaretReadOnly(PRBool readOnly) { return _to SetCaretReadOnly(readOnly); } \
  295.   NS_IMETHOD GetCaretEnabled(PRBool *_retval) { return _to GetCaretEnabled(_retval); } \
  296.   NS_IMETHOD SetCaretVisibilityDuringSelection(PRBool visibility) { return _to SetCaretVisibilityDuringSelection(visibility); } \
  297.   NS_IMETHOD CharacterMove(PRBool forward, PRBool extend) { return _to CharacterMove(forward, extend); } \
  298.   NS_IMETHOD WordMove(PRBool forward, PRBool extend) { return _to WordMove(forward, extend); } \
  299.   NS_IMETHOD LineMove(PRBool forward, PRBool extend) { return _to LineMove(forward, extend); } \
  300.   NS_IMETHOD IntraLineMove(PRBool forward, PRBool extend) { return _to IntraLineMove(forward, extend); } \
  301.   NS_IMETHOD PageMove(PRBool forward, PRBool extend) { return _to PageMove(forward, extend); } \
  302.   NS_IMETHOD CompleteScroll(PRBool forward) { return _to CompleteScroll(forward); } \
  303.   NS_IMETHOD CompleteMove(PRBool forward, PRBool extend) { return _to CompleteMove(forward, extend); } \
  304.   NS_IMETHOD ScrollPage(PRBool forward) { return _to ScrollPage(forward); } \
  305.   NS_IMETHOD ScrollLine(PRBool forward) { return _to ScrollLine(forward); } \
  306.   NS_IMETHOD ScrollHorizontal(PRBool left) { return _to ScrollHorizontal(left); } \
  307.   NS_IMETHOD SelectAll(void) { return _to SelectAll(); } \
  308.   NS_IMETHOD CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, PRBool *_retval) { return _to CheckVisibility(node, startOffset, endOffset, _retval); } 
  309.  
  310. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  311. #define NS_FORWARD_SAFE_NSISELECTIONCONTROLLER(_to) \
  312.   NS_IMETHOD SetDisplaySelection(PRInt16 toggle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisplaySelection(toggle); } \
  313.   NS_IMETHOD GetDisplaySelection(PRInt16 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplaySelection(_retval); } \
  314.   NS_IMETHOD GetSelection(PRInt16 type, nsISelection **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelection(type, _retval); } \
  315.   NS_IMETHOD ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRBool isSynchronous) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollSelectionIntoView(type, region, isSynchronous); } \
  316.   NS_IMETHOD RepaintSelection(PRInt16 type) { return !_to ? NS_ERROR_NULL_POINTER : _to->RepaintSelection(type); } \
  317.   NS_IMETHOD SetCaretEnabled(PRBool enabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaretEnabled(enabled); } \
  318.   NS_IMETHOD SetCaretReadOnly(PRBool readOnly) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaretReadOnly(readOnly); } \
  319.   NS_IMETHOD GetCaretEnabled(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaretEnabled(_retval); } \
  320.   NS_IMETHOD SetCaretVisibilityDuringSelection(PRBool visibility) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaretVisibilityDuringSelection(visibility); } \
  321.   NS_IMETHOD CharacterMove(PRBool forward, PRBool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->CharacterMove(forward, extend); } \
  322.   NS_IMETHOD WordMove(PRBool forward, PRBool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->WordMove(forward, extend); } \
  323.   NS_IMETHOD LineMove(PRBool forward, PRBool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->LineMove(forward, extend); } \
  324.   NS_IMETHOD IntraLineMove(PRBool forward, PRBool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->IntraLineMove(forward, extend); } \
  325.   NS_IMETHOD PageMove(PRBool forward, PRBool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->PageMove(forward, extend); } \
  326.   NS_IMETHOD CompleteScroll(PRBool forward) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompleteScroll(forward); } \
  327.   NS_IMETHOD CompleteMove(PRBool forward, PRBool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompleteMove(forward, extend); } \
  328.   NS_IMETHOD ScrollPage(PRBool forward) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollPage(forward); } \
  329.   NS_IMETHOD ScrollLine(PRBool forward) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollLine(forward); } \
  330.   NS_IMETHOD ScrollHorizontal(PRBool left) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollHorizontal(left); } \
  331.   NS_IMETHOD SelectAll(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectAll(); } \
  332.   NS_IMETHOD CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckVisibility(node, startOffset, endOffset, _retval); } 
  333.  
  334. #if 0
  335. /* Use the code below as a template for the implementation class for this interface. */
  336.  
  337. /* Header file */
  338. class nsSelectionController : public nsISelectionController
  339. {
  340. public:
  341.   NS_DECL_ISUPPORTS
  342.   NS_DECL_NSISELECTIONCONTROLLER
  343.  
  344.   nsSelectionController();
  345.  
  346. private:
  347.   ~nsSelectionController();
  348.  
  349. protected:
  350.   /* additional members */
  351. };
  352.  
  353. /* Implementation file */
  354. NS_IMPL_ISUPPORTS1(nsSelectionController, nsISelectionController)
  355.  
  356. nsSelectionController::nsSelectionController()
  357. {
  358.   /* member initializers and constructor code */
  359. }
  360.  
  361. nsSelectionController::~nsSelectionController()
  362. {
  363.   /* destructor code */
  364. }
  365.  
  366. /* void setDisplaySelection (in short toggle); */
  367. NS_IMETHODIMP nsSelectionController::SetDisplaySelection(PRInt16 toggle)
  368. {
  369.     return NS_ERROR_NOT_IMPLEMENTED;
  370. }
  371.  
  372. /* short getDisplaySelection (); */
  373. NS_IMETHODIMP nsSelectionController::GetDisplaySelection(PRInt16 *_retval)
  374. {
  375.     return NS_ERROR_NOT_IMPLEMENTED;
  376. }
  377.  
  378. /* nsISelection getSelection (in short type); */
  379. NS_IMETHODIMP nsSelectionController::GetSelection(PRInt16 type, nsISelection **_retval)
  380. {
  381.     return NS_ERROR_NOT_IMPLEMENTED;
  382. }
  383.  
  384. /* void scrollSelectionIntoView (in short type, in short region, in boolean isSynchronous); */
  385. NS_IMETHODIMP nsSelectionController::ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRBool isSynchronous)
  386. {
  387.     return NS_ERROR_NOT_IMPLEMENTED;
  388. }
  389.  
  390. /* void repaintSelection (in short type); */
  391. NS_IMETHODIMP nsSelectionController::RepaintSelection(PRInt16 type)
  392. {
  393.     return NS_ERROR_NOT_IMPLEMENTED;
  394. }
  395.  
  396. /* void setCaretEnabled (in boolean enabled); */
  397. NS_IMETHODIMP nsSelectionController::SetCaretEnabled(PRBool enabled)
  398. {
  399.     return NS_ERROR_NOT_IMPLEMENTED;
  400. }
  401.  
  402. /* void setCaretReadOnly (in boolean readOnly); */
  403. NS_IMETHODIMP nsSelectionController::SetCaretReadOnly(PRBool readOnly)
  404. {
  405.     return NS_ERROR_NOT_IMPLEMENTED;
  406. }
  407.  
  408. /* boolean getCaretEnabled (); */
  409. NS_IMETHODIMP nsSelectionController::GetCaretEnabled(PRBool *_retval)
  410. {
  411.     return NS_ERROR_NOT_IMPLEMENTED;
  412. }
  413.  
  414. /* void setCaretVisibilityDuringSelection (in boolean visibility); */
  415. NS_IMETHODIMP nsSelectionController::SetCaretVisibilityDuringSelection(PRBool visibility)
  416. {
  417.     return NS_ERROR_NOT_IMPLEMENTED;
  418. }
  419.  
  420. /* void characterMove (in boolean forward, in boolean extend); */
  421. NS_IMETHODIMP nsSelectionController::CharacterMove(PRBool forward, PRBool extend)
  422. {
  423.     return NS_ERROR_NOT_IMPLEMENTED;
  424. }
  425.  
  426. /* void wordMove (in boolean forward, in boolean extend); */
  427. NS_IMETHODIMP nsSelectionController::WordMove(PRBool forward, PRBool extend)
  428. {
  429.     return NS_ERROR_NOT_IMPLEMENTED;
  430. }
  431.  
  432. /* void lineMove (in boolean forward, in boolean extend); */
  433. NS_IMETHODIMP nsSelectionController::LineMove(PRBool forward, PRBool extend)
  434. {
  435.     return NS_ERROR_NOT_IMPLEMENTED;
  436. }
  437.  
  438. /* void intraLineMove (in boolean forward, in boolean extend); */
  439. NS_IMETHODIMP nsSelectionController::IntraLineMove(PRBool forward, PRBool extend)
  440. {
  441.     return NS_ERROR_NOT_IMPLEMENTED;
  442. }
  443.  
  444. /* void pageMove (in boolean forward, in boolean extend); */
  445. NS_IMETHODIMP nsSelectionController::PageMove(PRBool forward, PRBool extend)
  446. {
  447.     return NS_ERROR_NOT_IMPLEMENTED;
  448. }
  449.  
  450. /* void completeScroll (in boolean forward); */
  451. NS_IMETHODIMP nsSelectionController::CompleteScroll(PRBool forward)
  452. {
  453.     return NS_ERROR_NOT_IMPLEMENTED;
  454. }
  455.  
  456. /* void completeMove (in boolean forward, in boolean extend); */
  457. NS_IMETHODIMP nsSelectionController::CompleteMove(PRBool forward, PRBool extend)
  458. {
  459.     return NS_ERROR_NOT_IMPLEMENTED;
  460. }
  461.  
  462. /* void scrollPage (in boolean forward); */
  463. NS_IMETHODIMP nsSelectionController::ScrollPage(PRBool forward)
  464. {
  465.     return NS_ERROR_NOT_IMPLEMENTED;
  466. }
  467.  
  468. /* void scrollLine (in boolean forward); */
  469. NS_IMETHODIMP nsSelectionController::ScrollLine(PRBool forward)
  470. {
  471.     return NS_ERROR_NOT_IMPLEMENTED;
  472. }
  473.  
  474. /* void scrollHorizontal (in boolean left); */
  475. NS_IMETHODIMP nsSelectionController::ScrollHorizontal(PRBool left)
  476. {
  477.     return NS_ERROR_NOT_IMPLEMENTED;
  478. }
  479.  
  480. /* void selectAll (); */
  481. NS_IMETHODIMP nsSelectionController::SelectAll()
  482. {
  483.     return NS_ERROR_NOT_IMPLEMENTED;
  484. }
  485.  
  486. /* boolean checkVisibility (in nsIDOMNode node, in short startOffset, in short endOffset); */
  487. NS_IMETHODIMP nsSelectionController::CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, PRBool *_retval)
  488. {
  489.     return NS_ERROR_NOT_IMPLEMENTED;
  490. }
  491.  
  492. /* End of implementation class template. */
  493. #endif
  494.  
  495.    #define NS_ISELECTIONCONTROLLER_CID \
  496.    { 0xd2d1d179, 0x85a7, 0x11d3, \
  497.    { 0x99, 0x32, 0x0, 0x10, 0x83, 0x1, 0x23, 0x3c }}
  498.  
  499. #endif /* __gen_nsISelectionController_h__ */
  500.